<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExportEducatorsForPlacementTypeToExcel.aspx.cs" Inherits="Export_ExportEducatorsForPlacementTypeToExcel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Export Educators For Placement Type To Excel</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="gvEducators" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="UnitCode" HeaderText="UnitCode" SortExpression="UnitCode" />
                <asp:BoundField DataField="SemesterId" HeaderText="SemesterId" SortExpression="SemesterId" />
                <asp:BoundField DataField="Year" HeaderText="Year" SortExpression="Year" />
                <asp:BoundField DataField="PlacementTypeName" HeaderText="PlacementTypeName" SortExpression="PlacementTypeName" />
                <asp:BoundField DataField="DateStart" HeaderText="DateStart" SortExpression="DateStart" />
                <asp:BoundField DataField="DateEnd" HeaderText="DateEnd" SortExpression="DateEnd" />
                <asp:BoundField DataField="VenueName" HeaderText="VenueName" SortExpression="VenueName" />
                <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName" />
                <asp:BoundField DataField="JobTitle" HeaderText="JobTitle" SortExpression="JobTitle" />
                <asp:BoundField DataField="EmailAddress" HeaderText="EmailAddress" SortExpression="EmailAddress" />
            </Columns>
        </asp:GridView>
    
    </div>
        <asp:ObjectDataSource ID="odsEducators" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="SelectAllWPlacementTypeId" TypeName="PlacementManager.vwEducatorsWVenuesComponent">
            <SelectParameters>
                <asp:QueryStringParameter Name="placementTypeId" QueryStringField="PlacementTypeId"
                    Type="Int32" />
                <asp:Parameter DefaultValue="VenueName" Name="sortExpression" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </form>
</body>
</html>
